<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
*/
$strPageTitle = "List Contacts";
require_once( '../includes/header.inc.php');
$authSys = new Perm();
$authSys->IsAuthenticated(true);


?>
<div id="draftList">
    <?php
    foreach( $menu['Contacts']['sub'] as $key => $menuitem) {
        $strItem= $key ;
        $strImage= $menuitem['config']['image'];
        $strPath = $menuitem['config']['path'];
        printf('<h1>%s</h1><img src="%s" alt="%s Image"/><p class="create"><a href="%s/%s_list.php">%s</a> &nbsp;|&nbsp; <a href="%s/%s_edit.php">%s</a></p>',
                $strItem, $strImage, $strItem, $strPath , strtolower($strItem), QApplication::Translate('View List'),
                $strPath ,strtolower($strItem), QApplication::Translate('Create New'));



    }
    ?>
    <hr />
</div>
